package com.ruoyi.banner.domain;/**
 * @Title:Banner
 * @ClassName: ruoyi
 * @Description: TODO
 * @author: java
 * @time: 2024/2/27 8:48
 */

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @ClassName: Banner
 * @Description: TODO
 * @author: java
 * @time: 2024/2/27 8:48
 */
public class Banner extends BaseEntity {

    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    private Long id;

    /**
     * 名称
     */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String name;

    /**
     * 图像
     */
    @Excel(name = "图像")
    @ApiModelProperty(value = "图像")
    private String image;

    /**
     * 状态
     */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private String state;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("image", getImage())
                .append("state", getState())
                .append("delState", getDelState())
                .append("delUser", getDelUser())
                .append("delType", getDelType())
                .append("delTime", getDelTime())
                .append("createBy", getCreateBy())
                .append("createType", getCreateType())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateType", getUpdateType())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}

